<% include '/WEB-INF/includes/header.gtpl' %>

<div align="center">

	<%
		request.user.each{ usr ->
	%>
	
	<form action="/updateuser" method="post">
	<table>
	<tr>
	<td>姓名</td>
	<td><input type="text" name="name" value="${usr.name}"></td>
	</tr>
	<tr>
	<td>邮箱</td>
	<td><input type="text" name="email" value="${usr.email}"></td>
	</tr>
	<tr>
	<td>别名</td>
	<td><input type="text" name="alias" value="${usr.alias}"></td>
	</tr>
	<tr>
	<td><input type="hidden" name="id" value="${request.user.key.id}"></td>
	<td><input type="submit" value="修改"</td>
	</tr>
	</table>
	
	<% } %>
	
</div>

<% include '/WEB-INF/includes/footer.gtpl' %>